package org.opens.mybatisplus.controller.page;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class PageController {

    @RequestMapping(value = "/excel/excel")
    public String toExcelPage() {
        return "excel/excel";
    }

    @GetMapping(value = "/audio")
    public String page1() {
        return "audio";
    }

    @RequestMapping(value = "/restful")
    public String goRestfulPage() {
        return "restful/jquery-restful";
    }

    @RequestMapping(value = "/restful2")
    public String goRestfulPage2() {
        return "restful/jquery-restful-use-head";
    }

    @RequestMapping(value = "/json")
    public String goJsonEachPage() {
        return "restful/json-each";
    }

}
